<?php
include_once './inc/config_inc.php';
include_once './inc/mysql_inc.php';
include_once './inc/tool_inc.php';
$link=connect();
$user_id=is_login($link);

$template['title']='注册';
$template['css']=array('style/public.css','style/link.css');
?>

<?php include 'inc/header_inc.php';?>
<!--友情链接-->
<!--友情链接-->
<div class="link">
	<a href="index.php" style="font-size: 17px;font-family: 微软雅黑;color: black;">首页</a> &gt; <span style="font-size: 17px;font-family: 微软雅黑;">友情链接</span>
	<div class="lik">
		<?php 
		$query="select * from link";
		$result=execute($link,$query);
		while($data=mysqli_fetch_assoc($result)){
		?>
		<span><a href="<?php echo $data['url']?>" style="color: black;"><?php echo $data['name']?></a></span>
		<?php } ?>
	</div>
</div>


<?php include 'inc/footer_inc.php';?>